Parallel decode of a progressive jpeg bitstream

ABSTRACT

A progressive JPEG bitstream may comprise an image component that is comprised of multiple scans of MCUs/data units that are in turn comprised of at least one MCU/data unit segment. Each MCU/data unit segment is successively scanned. The MCU/data unit segment is then reconstructed using multiple entropy decoders operating in parallel on different scans of each MCU/data unit segment.

The present application is related to co-pending patent application Ser.No. PCT/US2013/059899 filed on Sep. 16, 2013, entitled “AN EFFICIENTPROGRESSIVE JPEG DECODE METHOD”; also related to co-pending patentapplication Ser. No. TO BE DETERMINED filed on TO BE DETERMINED andentitled “A PROGRESSIVE JPEG BITSTREAM TRANSCODER AND DECODER”.

TECHNICAL FIELD

The disclosed method and apparatus relates to communication systems, andmore particularly, embodiments related to reduce the memory andcomputation resources required to decode an image bitstream encoded inProgressive JPEG Mode.

BACKGROUND

The Joint Picture Experts Group (JPEG) Standard suggests storing entropydecoded Discrete Cosine Transform coefficients for all the components inmemory for an image bitstream encoded in progressive JPEG Mode. As soonas a subset of frequency coefficients of all the components aspartitioned by an image or JPEG encoder becomes available, the same isstored and decoded and an image that is a coarse approximation of anoriginal image is displayed. Discrete Cosine Transform (DCT)coefficients which have been decoded are stored as they are required fordecoding an improved approximation of an image after a remaining portionof the bitstream has been received. As more frequency coefficients ofall the components as partitioned by image/JPEG encoder becomeavailable, they are stored and decoded along with previously storedfrequency coefficients and an image, which is an improvement over theprevious coarse approximation of an original image, is displayed.

JPEG image decoding as described above requires an intermediate memoryof the order of image_width*image₁₃height*no_of_components*frequency_coefficient_num_bytes for storing DCTcoefficients of all image components. no_of_components is the totalnumber of different components which when combined represent amulti-component JPEG image; for example, a YUV JPEG image consists ofthree components Y, U and V. frequency_coefficient_num_bytes is thenumber of bytes required to represent a frequency coefficient. The JPEGlibrary developed by the independent JPEG group requires so muchintermediate memory for decoding a progressively encoded JPEG bitstream.

If the original image dimensions are 2 K*2 K, then approx 2 K*2 K*3*2bytes of memory are needed for YU V 4:4:4 color format, which isapproximately 24 MB. Successive improvements in an image requirerepeated Inverse Discrete Cosine Transform (IDCT) computation, henceincreasing computation resources by a factor proportional to the numberof successive improvements.

Researchers have proposed various solutions toward efficientimplementation of progressive JPEG decoder.

U.S. Pat. No. 7,313,281B2, entitled “Method and Related Apparatus forJPEG Decoding” to Chi-Cheng Ju, et. al., teaches decoding each of thescans into partial decoded pixel and summing each newly generatedpartial decoded pixel.

U.S. Patent Application No. 2003/0091240A1, entitled “Method andApparatus for Progressive JPEG Image Decoding” to Chi-Cheng Ju et. al.,and U.S. Patent Application No. 2007/0098275A1, entitled “Method andApparatus for Progressive JPEG Image Decoding” to Kun-Bin Lee, teachdecoding a progressive JPEG image by dividing each of the scans intomultiple regions and then decoding the regions individually. Finally,the decoded coefficients of the current decoding region of all scans areoutputted in order to construct a portion of the image data.

U.S. Patent Application No. 2005/0008234A1, entitled “Process andFunctional Unit for the Optimization of Displaying Progressively CodedImage Data” to Uwe-Erik Martin, teaches a method for optimizing thedownloading of progressively coded image data. The wait times betweenthe time points of directly consecutive decoding steps are calculatedusing statistical image quality parameters of received partial imagedata in such a manner that the decoding steps which do not lead toperceptible improvement in the quality of a reconstructed image aresuppressed.

U.S. Patent Application No. 2006/0067582 A1, entitled “Progressive JPEGDecoding System” to Mi Michael Bi, et. al., teaches a method in whichDCT coefficients in a particular decoded scan are classified into twocategories, namely, most significant DCT coefficients and leastsignificant DCT coefficients. The least significant DCT coefficients arenot stored directly in the memory. They are binarized and represented byeither “0” or “1” indicating if they are zero or non-zero coefficients.The binarized bitmap for the least significant DCT coefficients and theactual values of most significant DCT coefficients are stored in thememory and, thus, the overall memory requirements are significantlyreduced.

U.S. Patent Application No. 2008/0130746A1, entitled “Decoding aProgressive JPEG Bitstream as a Sequentially Predicted Hybrid VideoBitstream” to Soroushian, et. Al, teaches generating an intermediatebitstream by parsing a JPEG bitstream carrying a picture. Theintermediate bitstream generally includes one or more encoded frameseach representing a portion of the picture. A second circuit may beconfigured to (i) generate one or more intermediate images by decodingthe encoded frames, and (ii) recreate the picture using the intermediateimages.

U.S. Patent Application No. 2008/0310741A1, entitled “Method forProgressive JPEG Image Decoding” to Yu-Chi Chen, et. al., describes amethod of using a non-zero history table and a sign table of eachVariable Length Decoding (VLD) result, which are recorded and used as areference for decoding the next scan layer. The decoded coefficients areno longer directly stored in a memory to save the memory space.

U.S. Patent Application No. 2009/0067732A1, entitled “SequentialDecoding of Progressive coded JPEGS” to Sukcsh V. Kaithakapuzha, teachesprogressive scan encoded JPEGS are decoded sequentially on a MinimumCoded Unit (MCU) basis. Address Pointers are used to index into eachscan, and coded data from each scan is outputted to form an entropydecoded MCU.

Each of these attempts to solve the problem addressed by this disclosurehave the similar shortcoming of increased memory usage, and increaseddecode latency. Secondly the prior art references perform IDCT, datacopy and color format conversion, such as YCbCr to RGB, for entireMCU/data unit for every reconstruction of an approximation of an image.

DISCLOSURE OF THE INVENTION

The problem solved by this disclosure is to reduce the memory andcomputation resources required to decode an image bitstream encoded inProgressive JPEG Mode.

For an understanding of the features in this disclosure a briefdescription of the state of the art is provided.

FIG. 1 shows the major operations involved in a typical prior art JPEGencoder 10. Color image is generally represented as a mixture of variouscolor component images, for example a color image may be represented bya combination of Red, Green and Blue color component image. For highercompression and efficient implementation of various use cases a RGBsource image is generally pre-processed to convert it into a YUV sourceimage. Source Image Data which is an input to JPEG Encoder may or maynot be a multiple component image, for example a YUV source image is a 3component image. JPEG encoder 10 illustrates encoding of a singlecomponent source image. Typically similar operations as performed forencoding of a single component source image are performed by JPEGencoder 10 for encoding multiple component source image (such as shownin FIG. 1A).

Encoder 10 partitions the source image data into MCU/data unit andperforms the encoding operation on each MCU/data unit. A data unit is8×8 block of samples of one component in DCT-based processes.

FDCT block performs a mathematical transformation of data unit toconvert a block of samples into a corresponding block of original DCTcoefficients. One of the DCT coefficients is referred to as the DCcoefficient and the rest are the AC coefficients.

JPEG Encoder 10 selects a Quantization Table selected from TableSpecifications block. Quantizer block quantizes DCT coefficients byusing a specific quantization value for each positional DCT coefficient.Positional quantization value is obtained from Quantization Table.

Iq _(uv)=round(I _(uv) /Q _(uv))

Iq_(uv)—Quantized DCT coefficient at frequency (u,v), I_(uv)—DCTcoefficient at frequency (u,v), _(uv)—Quantization value at frequency(u,v).

After quantization, and in preparation for entropy encoding, JPEGEncoder 10 encodes the quantized DC coefficient as the difference fromthe DC term of the previous block in the encoding order (defined in thefollowing), as shown in FIG. 2A.

After quantization, and in preparation for entropy encoding, thequantized AC coefficients are converted to a stream of coefficients asper the zig-zag order. The zigzag order is as specified in FIG. 2B.

Entropy Encoder block (FIG. 1) encodes the quantized DCT coefficients byperforming either of the two entropy coding methods, i.e., Huffman orArithmetic coding. Corresponding entropy encoding tables are selectedfrom Table specifications block. Entropy Encoder block may format theencoded stream as progressive JPEG bitstream or as a sequential JPEGstream.

A progressive JPEG encoder typically stores all the quantized DCTcoefficients of an image in an intermediate image buffer that existsbetween the Quantizer block and the Entropy Encoder block. There are twoprocedures, i.e. spectral selection and successive approximation, bywhich the quantized coefficients in the buffer may be partially encodedwithin a scan, the scan contains data from all the MCU's/data units.

Reference is now made to FIG. 1B. In spectral selection the zig-zagsequence of DCT coefficients is segmented into frequency bands. The samefrequency bands from all the MCUs/data units are encoded sequentially toform a scan. DC coefficients are always coded separately from ACcoefficients. DC coefficients scan may have interleaved blocks from morethan one component. All other scans will have only one component.

Successive approximation is a progressive coding process in which thecoefficients are coded with reduced precision. DCT coefficients aredivided by a power of two before coding.

An encoder or decoder implementing a full progression uses spectralselection within successive approximation. As indicated above, FIG. 1Billustrates the spectral selection and successive approximation.

FIG. 3 shows the major operations involved in a JPEG decoder 14.Progressive JPEG decoder typically stores all quantized DCT coefficientsof an image before decoding DCT coefficients of an image present inseparate scans. As soon as a subset of DCT coefficients as partitionedby JPEG encoder becomes available, it is decoded for all imagecomponents and image is sent for display. A maximum number of times anew approximation of an image can be displayed may be equal to theminimum number of scans of an image component.

JPEG Decoder parses the compressed JPEG bitstream and determines if theJPEG bitstream to be decoded is a Progressive, Sequential, Hierarchicalor lossless JPEG bitstream. Entropy Decoding, i.e., Huffman orArithmetic Decoding, and Quantization tables to be used for decoding areobtained from the compressed bitstream.

Entropy Decoder block performs an Entropy Decoding operation oncompressed bitstream using Entropy Decoding Tables specified in thebitstream. Entropy Decoding Table is obtained from the TableSpecification block on the basis of information parsed from the JPEGbitstream. Typical progressive JPEG Entropy decoder entropy decodes aparticular scan completely before proceeding to decode the next scan. Inthis manner, progressive Entropy Decoder entropy decodes all the scans,and hence entropy decodes all image components. Entropy decoder blockgenerates quantized DCT coefficients.

An intermediate Image Buffer exists between the Quantizer block and theEntropy Decoder block. Progressive JPEG entropy decoder stores all thequantized DCT coefficients of an image in an intermediate image buffer.

Dequantizer block (FIG. 3) performs a dequantization operation usingDequantization Tables specified in the bitstream. De-Quantization Tableis obtained from the Table Specification block on the basis ofinformation parsed from the JPEG bitstream.

R _(uv) =Iq _(uv) *Q _(uv)

R_(uv)—Inverse Quantized DCT coefficient at frequency (u,v)

Iq_(uv)—Entropy decoded DCT coefficient at frequency (u,v)

Q_(uv)—Quantization value at frequency (u,v)

If successive approximation was used by Progressive JPEG Encoder thenJPEG decoder multiplies the quantized DCT coefficients by a power of twobefore computing the IDCT. Power of two to be used is obtained from theencoded bitstream.

IDCT block performs an Inverse DCT operation on an 8×8 block of inversequantized DCT coefficients to generate an 8×8 block of image samples ofa particular image component.

JPEG Decoder decodes all MCUs/data units to form Reconstructed ImageData.

Decoding of a progressively encoded JPEG image usually shows successiveimproved approximations of an entire image, as shown in FIG. 4.

Decoding of a sequentially encoded JPEG image usually shows a row-by-rowbuild-up of a final image, as shown in FIG. 5.

The embodiments disclosed herein can be used in conjunction with otherrelated co-pending patent applications for efficient IDCT computationfor reconstruction of approximate JPEG images, including “An EfficientProgressive JPEG Decode Method” Ser. No. PCT/US2013/059899.

A system level flow of JPEG decoding in Set Top Box for one component isshown in FIG. 3A.

There are various uses which require a JPEG Decoder to be present on SetTop Box (STB), which include:

-   -   Internet browsing on set top box;    -   Decode and display of JPEG images downloaded from        internet/intranet, which may be wired or wireless or a        combination thereof;    -   Decode and display of JPEG images shared via storage devices        such as USB stick, USB hard disk, SATA hard disk, Flash, etc;        and    -   Decode and display of JPEG images shared over relatively close        distance wired or wireless channel such as Bluetooth, WI-FI etc.

JPEG images encoded for internet/intranet/Wide Area Network (WAN)/LocalArea Network (LAN) or downloaded from internet intranet/WAN/LAN may beavailable in JPEG progressive mode, hence it is important for Set TopBox to support decoding of progressively encoded JPEG content. STBs havea limited amount of memory, hence it is essential that a reduced memoryfootprint be used for decoding of Progressive JPEG images.

Computational resources are becoming economical, and relatively morecomputation power is available. The computation resources of highercapability have propagated into almost all strata of society ofdeveloped, developing countries and to some extent in under developedcountries. Resolution supported by digital cameras has also gone upconsiderably. However the same is not true for the bandwidth availableto the consumers, hence, progressively encoded JPEG content is likely tobecome, and is becoming, available on internet.

The present disclosure presents embodiment for performing paralleldecoding of progressively encoded JPEG bitstreams using a reduced amountof memory. These embodiments are equally applicable for the two usecases of decoding JPEG bitstream from a file and of decoding JPEGbitstream streaming over a wired/wireless network.

The disclosed method and apparatus, in accordance with one or morevarious embodiments, is described with reference to the followingfigures. The drawings are provided for purposes of illustration only andmerely depict examples of some embodiments of the disclosed method andapparatus. These drawings are provided to facilitate the reader'sunderstanding of the disclosed method and apparatus. They should not beconsidered to limit the breadth, scope, or applicability of the claimedinvention. It should be noted that for clarity and ease of illustrationthese drawings are not necessarily made to scale.

BRIEF DESCRIPTION OF THE DRAWINGS

The features of the invention, and its technical advantages, can be seenfrom the following description of the preferred embodiments togetherwith the claims and the accompanying drawings, in which:

FIG. 1 shows a typical prior art JPEG encoder.

FIG. 1A shows a multi-component source image.

FIG. 1B illustrates progressive encoding with spectral selection shownon the left side, and successive approximation shown on the right side.

FIG. 2A shows how a prior art DC prediction is done.

FIG. 2B shows the reordering of the DCT coefficients in a zigzag order.

FIG. 3 shows a typical prior art JPEG decoder.

FIG. 3A illustrates system level flow of JPEG decoding in Set Top Boxfor one component.

FIG. 4 depicts prior art progressive JPEG decoding.

FIG. 5 depicts prior art sequential JEPG decoding.

FIG. 6 exemplifies how different scans produce and populate DCTcoefficients for two 8×8 blocks.

FIG. 7 shows the parallel decoding of a Progressive JPEG bitstream formore than one image component.

FIG. 8 shows an explicitly specified region of interest.

FIG. 9 shows image reconstruction using an up-scaling operation.

FIG. 10 shows two Data Unit Segments in an 80×64 JPEG image.

The figures are not intended to be exhaustive or to limit the claimedinvention to the precise form disclosed. It should be understood thatthe disclosed method and apparatus can be practiced with modificationand alteration, and that the invention should be limited only by theclaims and the equivalents thereof.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

The following presents a simplified summary of one or more embodimentsin order to provide a basic understanding of some aspects of suchembodiments. This summary is not an extensive overview of the one ormore embodiments, and is intended to neither identify key or criticalelements of the embodiments nor delineate the scope of such embodiments.Tts sole purpose is to present some concepts of the describedembodiments in a simplified form as a prelude to the more detaileddescription that is presented later.

A progressively encoded JPEG bitstream is likely to contain AC frequencycoefficients of each image component in multiple scans. An encoder couldhave partitioned frequency coefficients according to spectral selectionand/or successive approximation as described in JPEG standard, asreferenced. See FIG. 1B and FIG. 6.

This disclosure teaches the parallel decoding of the available portionof a progressive JPEG bitstream. Each scan of a component is scheduledto be decoded by a separate thread/process. Different scans are assignedto a different thread/process. Each thread/process processes theprogressive JPEG bitstream to search for Start of Scan (SOS) Marker. Atable is maintained which stores which thread/process/hardware isdecoding which scan. This table is used by threads/processes to find aunique scan for each of the thread/process/hardware. Alternatively, ascan finder finds all of the scans present in a JPEG bitstream and ascan allocator preferably allocates all of the scans of a particularimage component to different thread/process/hardware. Preferably, eachcomponent is decoded at one time to reduce system resources such asthread, process, and memory, etc. Alternatively, all components can bescheduled to be decoded in parallel. Each thread/process executes asoftware entropy decoder or controls one or more hardware entropydecoders. The decision of whether to decode compressed components oneafter the other or in parallel is dependent on the availability ofsystem resources. Each thread/process can run on one or more processors;hence, decode of one or more scans can happen on one or more processors.Processor can be a VLIW Processor/Super Scalar Processor/DSPprocessor/General purpose processor etc. Decoding of a progressive JPEGstream is synchronized by communication of a synchronization signal. Thesynchronization signal may be implemented as various inter thread orprocess or processor or hardware communication methods. Message queues,semaphores, counting semaphores, spin-lock, mutexes or interrupts can beused as some of the inter thread or inter process or inter processorcommunication methods. Multiple thread/process/ hardware synchronizationpoint is set at a Data unit/MCU boundary. Synchronization point isprogrammable. If synchronization points are separated by a large numberof Data unit/MCU then memory required to decode an Image Component willincrease, and if synchronization points are separated by relativelysmall number of Data unit/MCU then inter thread/process/processorcommunication will increase. Depending on the memory and computationresources available an optimum synchronization point is chosen.

An Entropy Decoder is run on each thread/process. Entropy decoded DCTcoefficients are stored in a shared buffer memory which is accessible byall threads/processes. Double buffering is used to efficiently use thecomputational resources as it keeps all the decoding modules busy fordecoding a JPEG bitstream. When de-quantization and IDCT task gets theinformation, i.e. synchronization signal, that all of the Entropydecoders have reached a synchronization point, this task then schedulesthe entropy decoded DCT coefficients for de-quantization, PointTransform, IDCT, and other operations involved in decoding of a JPEGbitstream.

Once Data units of an Image component are reconstructed, they are thenwritten to the output buffer. After DCT coefficients of Data unitspresent till the synchronization point has been reconstructed, Sharedbuffer memory which was being used for storing DCT coefficients isreleased to be used by Entropy Decoders and a buffer release signal iscommunicated to all the Entropy Decoders. Hence, intermediate memoryrequired to store DCT coefficients is equal to the

-   -   2*Data_Unit_Size*Decodable_Segment_Length.    -   Data Unit_Size=8×8, Decodable_Segment_Length=Number of Data        Units present between 2 synchronization points. Next Decoding of        next MCU/data unit segment is scheduled. This process will be        repeated until all MCU/data unit segments present in a scan have        been decoded.

After available scans of an image component are decoded, the process isthen repeated for chosen scans from the available scans of the rest ofthe image components. Output of JPEG decoder may go though scaling to becoherent with the display resolution and may also go through image postprocessing operations for enhancement of image quality.

If a progressive JPEG bitstream is being transmitted over a relativelynarrow bandwidth network then only few scans of each image componentwill be available to the JPEG Decoder at a given instant in time. Hence,for a streaming progressive JPEG bitstream, multiple approximations of aJPEG image will be sent to display until the complete JPEG bitstream isreceived by the JPEG decoder.

Parallel Decoding means that various portions of one or more data unitsare being entropy decoded in parallel. Parallel decoding continues untila synchronization point is reached. Once a synchronization point isreached, another buffer is ready to be used by Entropy Decoder. If thebuffer is not ready Entropy decoders will wait until they receive thebuffer available information.

The present invention can either perform Individual Component decode,i.e., decode one component at a time, or simultaneous decode of allimage components. For example, a first embodiment showing a simultaneousparallel decode of a Progressive JPEG bitstream 16 is shown in FIG. 7for one or more than one image component. This embodiment performsparallel decoding of the available portion (available scans of availableimage components) of progressive JPEG bitstream 16. Each scan, via aninput buffer 18 and scan processor 19, of a component is scheduled to bedecoded, via an entropy decoder 20, by a separatethread/process/hardware pursuant to a table of specifications 22. Scanprocessor 19 finds all of the scans present in an available JPEGbitstream and preferably allocates all of the scans of a particularimage component to different thread/process/hardware. Eachthread/process can run on one or more processors or control one morehardware entropy decoders. Hence, decoding of one or more scans canoccur on one or more processors or hardware entropy decoder, as shown inFIG. 7. The processor can be a VLIW Processor/Super Scalar Processor/DSPprocessor or a General purpose processor etc.

As indicated previously, decoding of progressive JPEG stream 16 issynchronized by communication of a synchronization signal. Thesynchronization signal may be implemented as various inter thread orinter process or inter processor or inter hardware communicationmethods. Message queues, semaphores, mutexes or interrupts can be usedas some of the inter thread or process or processor communicationmethods.

Entropy decoder 20 is run on each thread/process/hardware. Each entropydecoder 20 decodes a similar MCU/data unit segment, for example DataUnit Segment1 as shown in FIG. 10. Entropy decoded DCT coefficients arestored in a shared buffer memory 24 which is accessible by allthreads/processes. Double buffering, via shared memory 24, is used toefficiently use the computational resources to keep all the decodingmodules busy for decoding JPEG bitstream 16. When de-quantizer 26 andIDCT 28 tasks get the information, i.e., synchronization signal, and allentropy decoders 20 have reached a synchronization point, this task thenschedules the entropy decoded DCT coefficients for de-quantizer 26,inverse point transform (not shown), IDCT 28, and other operationsinvolved in decoding of JPEG bitstream 16. Reconstructed Data Units ofan Image component are then written to the output buffer to form areconstructed image 30.

After data units present until the synchronization point, for example 20Data Units as shown in FIG. 10, have been reconstructed 30, sharedbuffer memory 24, which was being used for storing DCT coefficients, isreleased to be used by entropy decoders 20 and a buffer release signalis communicated to all the entropy decoders 20. Hence, the intermediatememory required to store the DCT coefficients is equal to

2*Data_Unit_Size*Decodable_Segment_Length. Data Unit Size=8×8,

Decodable_Segment_Length=Number of Data Units present between 2synchronization points.

Next Decoding of next MCU/data unit segment, for example Data UnitSegment2 as shown in FIG. 10, is scheduled. This process will berepeated until all MCU/data unit segments, for example DU0 to DU79 asshown in FIG. 10, present in a scan have been decoded.

All regions of a JPEG image may not be of immediate and simultaneousimportance for the user. Hence, the present disclosure

-   -   1. Reconstructs certain regions of JPEG image with lower quality        as compared to other regions in which relatively higher quality        is maintained.    -   2. Skips decoding of certain regions.

Region of Interest decoding is particularly useful for reconstructingapproximations of a JPEG image. It enables efficient reconstruction ofJPEG images by using less computational resources in the low qualityregions. Need for Region of Interest Decoding arises out of variousother use cases such as

-   -   1. User might be interested in some portions of a JPEG image,        hence it is a waste of computational resources to decode        unwanted regions.    -   2. Display resolution of a display device may be much less than        that of resolution of JPEG image. In such a case one has to        either downscale the reconstructed image or one has to crop the        reconstructed image. Hence, it is a waste of computational        resources to decode unwanted regions and then either        downscale/crop away the same.    -   3. Region of Interest decoding of Image Quality according to a        particular use case; one being decode and display of        approximations of a JPEG image.

Region specific information related to Region of Interest is passed onto all the threads/processes. Each thread/process decodes the Region ofInterest according to the specified Region of Interest information.Region Specific Information can be

-   -   1. Image Quality to be reconstructed in a particular region.        Image Quality to be reconstructed depends on number of Frequency        Coefficients to be decoded, dynamic range of Frequency        coefficients (minimum bits required to represent frequency        coefficients) and re-quantization.    -   2. Coordinates of Region of Interest. Region of Interest may be        specified in the form of rectangles. Coordinates are Starting        Address of Region of Interest (e.g. extreme top-left corner of        the rectangle), height and width of Region of Interest.    -   3. TDCT kernel to be used in a specific region.

Objects of interests are generally centered in an image. Hence, thepresent disclosure chooses to divide image into an array of 4×4, asshown in FIG. 8. Outer regions are reconstructed with low image quality.The inner dark regions 32 are reconstructed with relatively higher imagequality. Reconstruction of low quality regions can be done using lesscomputation as compared to the high quality regions.

Low Image quality can be obtained in the following ways:

-   -   1. In low quality region IDCT kernel size is half in height        and/or width to that of IDCT kernel size in high quality region.    -   2. Dynamic Range of frequency coefficients in low quality region        is less as compared to Dynamic Range of frequency coefficients        in high quality region.    -   3. Re-quantization—Quantization factors are increased and image        is reconstructed in accordance with the increased quantization        factors.

Instead of using default region of interest user can input regions ofinterest to JPEG decoder via “Mouse”/“Keyboard”/“touch screen”. Regionsof interest are reconstructed with higher image quality.

Many of the Use Cases for STB and DTV require Progressive JPEG Bitstreamto be decoded in two ways, i.e.

-   -   1. Decoding a JPEG File in a single pass.    -   2. Decoding a Progressive JPEG Bitstream which is being streamed        over a network.

Decoding of a Progressive JPEG image requires an intermediate buffer ofcertain size which could be as much asBytes_per_DCT_Coeffcient×N×M×Number_of_Color_Components. In comparison,the present disclosure completely avoids usage of intermediate bufferand uses a small portion of output buffer as an intermediate buffer tostore relatively small number of DCT coefficients.

Reconstruction of Sub-Sampled Approximations of a JPEG Image

Output buffer size can vary from“Pixel_depth_in_bytes×N×M×Number_of_Color_Components” to“Pixel_depth_in_bytes×(N×M+N×M×(Number_of_Color_Components−1)×¼)”depending on the output color format. Output color formats can be YUV4:4:4, YUV 4:2:2, YUV 4:2:0, CMYK etc. Mostly YUV 4:4:4, YUV 4:2:2, YUV4:2:0 are used by digital cameras and the content present on theinternet is largely in these color formats. Pixel_depth_in_bytes can be1 byte or 2 byte depending on whether input sample precision is 8 bpp(bits per pixel) or 12 bpp.

Sub-sampled reconstructed approximations of a JPEG image require anintermediate buffer which is at most ¼^(th) the size of output buffer.Intermediate buffer required for storing frequency coefficients fordecoding Sub-sampled approximations of a JPEG image varies from“Intermediatesample_bit_depth_in_bytes×N×M×Number_of_Color_Components×¼)” to“¼×Intermediate_sample_bit_depth_in_bytes×(N×M+N×M×(Number_of_Color_Components−1)×¼)”which is clearly less than the total output buffer memory available.

“Intermediate_sample_bit_depth_in_bytes” can be 1 byte or 2 bytesdepending on the dynamic range of entropy decoded DCT coefficient.

In the worst case only ¾^(th) (¼^(th) for storing the sub sampledreconstruction and ½ for storing the corresponding DCT coefficients) ofthe output buffer will be used for simultaneously storing frequencycoefficients and reconstructed outputs. Worst case is defined as eachfrequency coefficient of each color component requiring 16 bits forstorage and each reconstructed sample of each color component requiring8 bits for storage. Hence sub-sampled approximations of a JPEG image canbe reconstructed and sent to display without overwriting decodedfrequency coefficients while ¼^(th) of the output buffer memory is stillavailable for decoding the progressive JPEG bitstream being received.

After sub-sampled approximations of a JPEG image have been reconstructedand sent to display, the next step is to reconstruct the final JPEGimage to be sent to display.

Reconstruction of Complete JPEG Image

Final JPEG image is decoded efficiently in the following way; final JPEGimage can be displayed in following ways:

-   -   1. Display of final image is not required until the complete        image has been decoded.

For reconstruction of a final JPEG image a small buffer along withoutput buffer can be used to temporarily store the DCT coefficients ofan Image component. Following is the sequence of operations which arcperformed for decoding a progressively encoded JPEG File.

-   -   1. At one time only one image component is decoded.    -   2. Depending on color format and other attributes of JPEG        bitstream a decoding order of image components is decided such        that this decoding order requires minimal amount of intermediate        memory.    -   3. Decoding of next image component is started only after        decoding of current image component is finished.    -   4. Entropy decode all scans of an image component. A small        buffer along with output buffer is big enough to store all the        required DCT coefficients of one image component even if most of        the frequency coefficients require 16 bit. If required, all the        techniques proposed in another invention disclosure titled as        “A_Novel_Progressive_JPEG_Decode_Method” can be used to further        reduce the memory required to store DCT coefficients.    -   5. Store Quantized Frequency Coefficients, i.e. Quantized DCT        coefficients, in output buffer. Almost all quantized DCT        coefficients of 8 bit sample precision can be stored in 8 bits        due to quantization. If some frequency coefficients require 16        bits then same can be known by (i) input sample precision (ii)        Quantization Table used for a particular component.    -   6. As an alternative to above step if enough memory is available        to store each DCT coefficient in 16 bits then inverse quantized        frequency coefficients are stored. This helps in reducing the        repetitions of inverse quantization operations which otherwise        would have to be done if quantized DCT coefficients are stored.    -   7. Defer performing rest of the decoding processes such as        Inverse Quantization, IDCT, color format conversion etc until        Quantized DCT coefficients from all scans of a particular image        component become available.    -   8. Now decode each MCU/Data Unit of a segment of an image        component and store the decoded MCU in Output buffer.

Instead of using an IDCT computation to upscale approximations of a JPEGimage, one embodiment of the invention uses a software/hardwareup-scaling operation. Such a division of work flow is efficient when acore operation inherently performs an up-scaling operation in additionto a data processing operation, such as decoding. Here, an up-scalingoperation is performed by a separate module, hence the JPEG decoderrequires less computation to decode progressive JPEG image, leading to afaster progressive JPEG decode in real time.

Sub-sampled approximations of a JPEG image can also be up-scaled byusing software/hardware up-scaling operation 34 (see FIG. 9). A softwareup-scaling operation, if used, preferably runs on a separate processor.As shown in FIG. 9, a JPEG image of N×M size is reconstructed by using asubset of frequency coefficients. This division of the work flow isefficient when a core operation inherently performs the up-scalingoperation 34 in addition to a data processing operation, such asdecoding via prior art progressive JPEG decoder. In comparisonup-scaling operation 34 is performed by a separate module; hence, theJPEG decoder 38 requires less computation to decode progressive JPEGimage 36, resulting in a faster progressive JPEG decode in real time.

Optionally, image enhancement operations can be used prior to up-scalingor after scaling. These operations can be de-ringing, de-blocking, colorcorrection, white balance, etc.

One present embodiment proposes to decode one Image Component in itsentirety before it progresses to decode other Image components. The JPEGstandard mandates that all AC DCT coefficients of an image component fora progressive JPEG image will be encoded in a non-interleaved mode, i.e.AC DCT coefficients of each image component shall be present as separatescans in a JPEG bitstream. For example, if N image components arepresent in a progressively encoded JPEG bitstream, one embodimentchooses to decode all DCT coefficients of one image component before itprogresses to decode DCT coefficient of the next image component.

Strategy of decoding one image component at a time reduces theintermediate memory required to decode a progressively coded JPEGbitstream by a factor of N because only frequency coefficients, i.e. DCTcoefficients of one component, have to be stored. Progressive Mode ofJPEG allows only DC coefficients of all Image components to be encodedin interleaved mode. Storage of DC coefficients of other imagecomponents require typically (N−1) *W*H*2/64 bytes of memory. Numbers ofimage components in an image are usually in single digits. Since onlyone segment of an image component is decoded before proceeding to thenext segment, the memory required to store DCT coefficients isproportional to the number of data units contained between 2synchronization points.

If the system is decoding a JPEG bitstream contained in a file, then allscans of an image component are entropy decoded up to a synchronizationpoint and are scheduled for the rest of the decoding processes, i.e.,decoding processes which are performed after entropy decoding, once allquantized frequency/DCT coefficients of all the data units, of an imagecomponent between the two synchronization points become available. Thishelps in reducing the computation resources (IDCT, memory bandwidth,data copy, color format conversion, etc.) required to decode and displayan image.

One embodiment of the present application proposes to decode a streamingprogressive JPEG bitstream, which is being delivered over the internet,in the following ways:

In an all component sub-sampled progressive JPEG decode, sub-sampledapproximations of JPEG image are decoded, reconstructed and sent fordisplay. Sub-sampled approximations of JPEG image are decoded in acomponent wise manner, i.e., at a time single component is decoded andapproximation of next component is scheduled for decoding only afterapproximation of previous component has been decoded. Sub-sampledapproximation are upscaled 34. Once approximations of all imagecomponents become available they are then sent for display as an allcomponent approximation of a JPEG image. After N/2×M/2 approximation ofa JPEG image has been decoded and displayed, the next step is to decodeand display complete N×M JPEG image 36. Decode of complete JPEG image isagain performed in a component wise manner. An image component isscheduled for decoding in its entirety. Complete data units of currentimage component present between two synchronization points are scheduledfor the rest of the decoding processes once all DCT coefficients ofthese MCU/data units of current image component become available.Decoding of the next image component is not started unless current imagecomponent has been decoded in its entirety. This process is repeated forthe rest of the image components unless all image components arereconstructed. An image for display can be updated when next imagecomponent becomes available for display, i.e. all image components aredisplayed in succession one after the other, or all image components canbe displayed at one time. As a result, user may experience a gradualbuild up of all component JPEG images, i.e., display of coarseapproximation of an image followed by display of a final image.

In a single component sub-sampled progressive decode, DC coefficients ofall image components are reconstructed and the image reconstructed usingDC coefficients is sent to display. Luminance scans (if image was codedin YCbCr color format) are then scheduled for decoding and display.Sub-sampled approximations of Luminance component of JPEG image are thendecoded 38, reconstructed and sent for display. The next step is toschedule Luminance image component for decoding in its entirety.Complete data units of current image component present between twosynchronization points are scheduled for the rest of decoding processesonce all DCT coefficients of these MCU/data units of current imagecomponent become available. Decoding of the next image component is notstarted unless current image component, i.e. all and complete MCU/dataunits of current image component, has been decoded in its entirety. Thisprocess is repeated for the rest of the image components unless allimage components get reconstructed. The image can be updated when thenext image component becomes available for display, i.e. all imagecomponents are displayed in succession one after the other, or all theimage components are displayed at one time with the already displayedLuminance component. As a result user may experience a gradual build upof one component, i.e., Luminance component, as an approximation of aJPEG image followed by component by component build up of a JPEG image.

In a decode of a successive approximation encoded progressive bitstream,the most significant bits of the frequency coefficients are decoded in acomponent wise manner, i.e., at a time a single component is decoded andapproximation of the next component is scheduled for decoding only afterapproximation of the previous component has been decoded. If memory isfalling short during reconstruction of approximations of JPEG image,then reconstructing an image in multiple steps, i.e., reconstruction ofavailable frequency coefficients of data units of current imagecomponent present between two synchronization points, is employed. Onceapproximations of all image components become available they are sentfor display as an all component approximation of a JPEG image. After 4to 5 MSB's of the frequency coefficients have been decoded and displayedfor 8bpp image, the next step is to decode and display all the bits offrequency coefficients of their complete N x M JPEG image 36. Decode ofcomplete JPEG image is again performed in a component wise manner. Animage component is scheduled for decoding in its entirety. Complete dataunits of current image component present between two synchronizationpoints are scheduled for the rest of the decoding processes once all DCTcoefficients of these MCU/data units of current image component becomeavailable. Decoding of the next image component is not started unlessthe current image component, i.e. all and complete MCU/data units of thecurrent image component, has been decoded in its entirety. This processis repeated for the rest of the image components unless all imagecomponents are reconstructed. The image for display can be updated whenthe next image component becomes available for display, i.e. all imagecomponents are displayed in succession one after the other, or all imagecomponents can be displayed at once. As a result, user may experience agradual build up of all component JPEG images, i.e., display of coarseapproximation of an image followed by display of a final image.

In an all component progressive JPEC decode, available frequencycoefficients which may be contained in multiple scans are decoded in acomponent wise manner, i.e., at a time a single component is decoded.Data units of a current image component present between twosynchronization points are scheduled for the rest of the decodingprocesses once available DCT coefficients of these MCU/data units of thecurrent image component become available. Decoding of the next imagecomponent is not started unless the current image component, i.e. allMCU/data units of the current image component, has been decoded in itsentirety. This process is repeated for the rest of the image componentsunless approximations of all image components are reconstructed. Onceapproximations of all image components become available, they are thensent for display as an all component approximation of a JPEG image.After N/2×M/2 approximation of a JPEG image has been decoded anddisplayed, the next step is to decode and display the complete N×M JPEGimage. Decode of complete JPEG image is again performed in a componentwise manner. An image component is scheduled for decoding in itsentirety. Complete data units of the current image component presentbetween two synchronization points are scheduled for the rest ofdecoding processes once all DCT coefficients of these MCU/data units ofcurrent image component become available. Decoding of the next imagecomponent is not started unless the current image component has beendecoded in its entirety. This process is repeated for the rest of theimage components unless all image components are reconstructed. An imagefor display can be updated when the next image component becomesavailable for display, i.e. all image components are displayed insuccession one after the other, or all image components can be displayedat once. As a result, user may experience a gradual build up of allcomponent JPEG images, i.e., display of coarse approximation of an imagefollowed by display of a final image.

As previously indicated, the prior art teaches reconstructing all thecomponents of an image for every approximation of an image which is sentto display, and simultaneously stores the DCT coefficients of all theimage components before starting the reconstruction of each MCU/dataunit. In comparison, applicant reconstructs an image in the followingways:

-   -   1. Only DC coefficients of all components are reconstructed and        an image so reconstructed is sent for display. Subsequently, the        complete image is reconstructed and is sent for display    -   2. Only DC coefficients of all components are reconstructed, and        an image thus reconstructed is sent for display. Subsequently        only upgrades of a single component are reconstructed and sent        for display, e.g., for Luminance. An image component is decoded        in multiple MCU/data unit segments. Decoding of the next        MCU/data unit segment of an image component is started only        after DCT coefficients of the current MCU/data unit segment of        an image component have been consumed. Decoding of the next        image components is started only after DCT coefficients of a        component of an image have been consumed. Memory which was used        for storing DCT coefficients of MCU/data unit segments of a        particular image component is re-used for storing DCT        coefficients of other MCU/data unit segments of the current        image component, and for memory which was used for storing DCT        coefficients of a particular image component, a subset of that        memory is re-used for storing DCT coefficients of another image        component. A complete image can be sent to display in two ways.        An image can be sent to display in a component wise manner. An        image component is sent for display once it has been decoded.        This process is repeated until all image components of an image        have been decoded and have been sent for display, or a complete        image can be sent to display in one shot.    -   3. Only DC coefficients of all components are reconstructed, and        an image thus reconstructed is sent for display. Subsequently,        upgrades of image components are reconstructed in a component        wise manner, i.e. one component at a time. An image component is        decoded in multiple MCU/data unit segments. Decoding of the next        MCU/data unit segment of an image component is started only        after available/chosen DCT coefficients of the current MCU/data        unit segment of an image component have been consumed. Decoding        of the next image components is started only after        available/chosen DCT coefficients of a component of an image        have been consumed. Memory which was used for storing DCT        coefficients of MCU/data unit segments of a particular image        component is re-used for storing DCT coefficients of other        MCU/data unit segments of the current image component. All        components are simultaneously sent for display. Improvements in        JPEG image are decoded only up to half the height and width of        output image size, which is obtained by decoding the frequency        coefficients that correspond to half the height and width of a        data unit block. After this the complete JPEG image is        reconstructed in its entirety before any further updates can be        sent to display. Decoding is again done in a component wise        manner. An image component is decoded in multiple MCU/data unit        segments. Decoding of the next MCU/data unit segment of an image        component is started only after all the DCT coefficients of the        current MCU/data unit segment of an image component have been        consumed. Memory which was used for storing DCT coefficients of        MCU/data unit segments of a particular image component is        re-used for storing DCT coefficients of other MCU/data unit        segments of the current image component, and for memory which        was used for storing DCT coefficients of a particular image        component, a subset of that memory is re-used for storing DCT        coefficients of another image component. A complete image can be        sent to display in two ways. An image can be sent to display in        a component wise manner An image component is sent for display        once it has been decoded. This process is repeated until all        image components of an image have been decoded and have been        sent for display, or a complete image, i.e. all image        components, can be simultaneously sent for display.    -   4. Only DC coefficients of all components are reconstructed and        an image thus reconstructed is sent for display. Subsequently,        upgrades of image components are reconstructed in a component        wise manner, i.e. one component at a time. An image component is        decoded in multiple MCU/data unit segments. Decoding of the next        MCU/data unit segment of an image component is started only        after available/chosen bits of available/chosen DCT coefficients        of the current MCU/data unit segment of an image component have        been consumed. Decoding of the next image components is started        only after available/chosen bits of available/chosen DCT        coefficients of a component of an image have been consumed.        Memory which was used for storing DCT coefficients of MCU/data        unit segments of a particular image component is re-used for        storing DCT coefficients of other MCU/data unit segments of the        current image component. All components are simultaneously sent        for display. Improvements in JPEG image are decoded only up to 4        or 5 MSB's of frequency coefficients. After this, the complete        JPEG image is reconstructed in its entirety before any further        updates can be sent to display. Decoding is again done in a        component wise manner. An image component is decoded in multiple        MCU/data unit segments. Decoding of the next MCU/data unit        segment of an image component is started only after all the DCT        coefficients of current MCU/data unit segment of an image        component have been consumed. Memory which was used for storing        DCT coefficients of MCU/data unit segments of a particular image        component is re-used for storing DCT coefficients of other        MCU/data unit segments of the current image component. With        memory which was used for storing DCT coefficients of a        particular image component, a subset of that memory is re-used        for storing DCT coefficients of another image component. The        complete image can be sent to display in two ways. An image can        be sent to display in a component wise manner. An image        component is sent for display once it has been decoded. This        process is repeated until all image components of an image have        been decoded and have been sent for display, or a complete        image, i.e. all image components, can be simultaneously sent for        display.

The prior art sequentially decodes various scans of an image component.A second scan is scheduled for entropy decoding only after a first scanhas been entropy decoded. Tn comparison, pursuant to the presentdisclosure, parallel decoding of more than one scan of an imagecomponent is performed.

A JPEG bitstream encoded using successive approximation requires certaininformation of previous scan to decode current scan. Entropy decode of adata unit of a current scan doesn't proceed unless information of thisdata unit from the previous scan becomes available.

A Parallel Entropy Decoder can run on one or more multiplehardware/programmable processor cores.

Pursuant to one efficient embodiment of the present application,approximations of a JPEG image are reconstructed by storing thefrequency coefficients so that entropy decode and inverse transformoperations don't have to be repeated for every approximatereconstruction of a JPEG image.

The prior art uses separate buffers for storing DCT coefficients andoutput of JPEG decoder. Tn comparison, the present disclosure uses anoutput buffer for temporarily storing DCT coefficients and hence uses asmaller intermediate buffer than does the prior art. The size of theintermediate buffer used is dependent on the color format. Anintermediate buffer of smaller size is used for YCbCr 4:2:0 as comparedto YCbCr 4:4:4. Depending on the application, the intermediate buffercan range from memory required to store frequency coefficients of 1MCU/data unit to few rows of frequency coefficients of MCU/data unit.

Whereas the prior art uses the same decoding order of the imagecomponents, the present disclosure can alter the decoding order of imagecomponents to reduce the memory requirement for storing DCTcoefficients.

Pursuant to the present application, the intermediate memory requiredfor decoding a progressively encoded JPEG bitstream by a considerableamount. Simultaneously, the computation resources required to decode aprogressively encoded image (JPEG/JPEG-XR) bitstream is reduced sincerepeated IDCT, data copy and color format conversion may not berequired. The performance efficiency is increased in terms of real timeperformance and power consumed for decoding a progressively encoded JPEGbitstream is reduced.

While various embodiments of the disclosed method and apparatus havebeen described above, it should be understood that they have beenpresented by way of example only, and should not limit the claimedinvention. Likewise, the various diagrams may depict an examplearchitectural or other configuration for the disclosed method andapparatus. This is done to aid in understanding the features andfunctionality that can be included in the disclosed method andapparatus. The claimed invention is not restricted to the illustratedexample architectures or configurations; rather, the desired featurescan be implemented using a variety of alternative architectures andconfigurations. Indeed, it will be apparent to one of skill in the arthow alternative functional, logical or physical partitioning andconfigurations can be implemented to implement the desired features ofthe disclosed method and apparatus. Also, a multitude of differentconstituent module names other than those depicted herein can be appliedto the various partitions. Additionally, with regard to flow diagrams,operational descriptions and method claims, the order in which the stepsare presented herein shall not mandate that various embodiments beimplemented to perform the recited functionality in the same orderunless the context dictates otherwise.

Although the disclosed method and apparatus are described above in termsof various exemplary embodiments and implementations, it should beunderstood that the various features, aspects and functionalitydescribed in one or more of the individual embodiments arc not limitedin their applicability to the particular embodiment with which they aredescribed. Thus, the breadth and scope of the claimed invention shouldnot be limited by any of the above-described exemplary embodiments.

Terms and phrases used in this document, and variations thereof, unlessotherwise expressly stated, should be construed as open ended as opposedto limiting. As examples of the foregoing: the term “including” shouldbe read as meaning “including, without limitation” or the like; the term“example” is used to provide exemplary instances of the item indiscussion, not an exhaustive or limiting list thereof; the terms “a” or“an” should be read as meaning “at least one,” “one or more” or thelike; and adjectives such as “conventional,” “traditional,” “normal,”“standard,” “known” and terms of similar meaning should not be construedas limiting the item described to a given time period or to an itemavailable as of a given time, but instead should be read to encompassconventional, traditional, normal, or standard technologies that may beavailable or known now or at any time in the future. Likewise, wherethis document refers to technologies that would be apparent or known toone of ordinary skill in the art, such technologies encompass thoseapparent or known to the skilled artisan now or at any time in thefuture.

A group of items linked with the conjunction “and” should not be read asrequiring that each and every one of those items be present in thegrouping, but rather should be read as “and/or” unless expressly statedotherwise. Similarly, a group of items linked with the conjunction “or”should not be read as requiring mutual exclusivity among that group, butrather should also be read as “and/or” unless expressly statedotherwise. Furthermore, although items, elements or components of thedisclosed method and apparatus may be described or claimed in thesingular, the plural is contemplated to be within the scope thereofunless limitation to the singular is explicitly stated.

The presence of broadening words and phrases such as “one or more,” “atleast,” “but not limited to” or other like phrases in some instancesshall not be read to mean that the narrower case is intended or requiredin instances where such broadening phrases may be absent. The use of theterm “module” does not imply that the components or functionalitydescribed or claimed as part of the module are all configured in acommon package. Indeed, any or all of the various components of amodule, whether control logic or other components, can be combined in asingle package or separately maintained and can further be distributedin multiple groupings or packages or across multiple locations.

Additionally, the various embodiments set forth herein are described interms of exemplary block diagrams, flow charts and other illustrations.As will become apparent to one of ordinary skill in the art afterreading this document, the illustrated embodiments and their variousalternatives can be implemented without confinement to the illustratedexamples. For example, block diagrams and their accompanying descriptionshould not be construed as mandating a particular architecture orconfiguration.

What is claimed is: 1-9. (canceled)
 10. A method of processing an imagebitstream, the method comprising: determining an image in a user'sregion of interest; successively scanning a data unit segment of thedetermined image to produce two or more scans; decoding, in parallel,the two or more scans of the data unit segments; and reconstructing thedata unit segment according to the two or more decoded scans of the dataunit segment, wherein the image in the user's region of interest isreconstructed with a higher image quality.
 11. The method of claim 10,wherein decoding comprises utilizing multiple entropy decoders.
 12. Themethod of claim 10, wherein the data unit segment is between twosynchronization points.
 13. The method of claim 10, wherein decodingcomprises temporarily storing a discrete cosine transform (DCT)coefficient of the data unit segment in an output image buffer.
 14. Themethod of claim 10, wherein the data unit segment comprises ¼^(th) offrequency coefficients that are present in a top-left 4×4 array of an8×8 a data unit block.
 15. The method of claim 10, wherein the data unitsegment comprises an approximation of at least one image component usingstored DCT coefficients.
 16. The method of claim 10, wherein the methodcomprises up-scaling reconstructed sub-sampled approximations of thedata unit segment.
 17. The method of claim 10, wherein the user's regionof interest is identified by a user interface.
 18. The method of claim10, wherein the image is displayed by a set top box.
 19. The method ofclaim 10, wherein the image is shared over a wireless channel.
 20. Asystem for processing an image bitstream comprising: a user interfaceoperable to identify an image in a user's region of interest; a scanneroperable to successively scan a data unit segments of the image in theimage bitstream to produce two or more scans; two or more decodersoperable in parallel to decode the two or more scans of the data unitsegment; and a circuit operable to reconstruct the data unit segmentaccording to the two or more decoded scans of the data unit segment,wherein the image in the user's region of interest is reconstructed witha higher image quality.
 21. The system of claim 20, wherein the two ormore decoders are two or more entropy decoders.
 22. The system of claim20, wherein the data unit segment is between two synchronization points.23. The system of claim 20, wherein the system comprises an output imagebuffer operable to temporarily store a discrete cosine transform (DCT)of the data unit segment.
 24. The system of claim 20, wherein the dataunit segment comprises ¼^(th) of frequency coefficients that are presentin a top-left 4×4 array of an 8×8 a data unit block.
 25. The system ofclaim 20, wherein the data unit segment comprises an approximation of atleast one image component using stored DCT coefficients.
 26. The systemof claim 20, wherein the circuit is operable to up-scale reconstructedsub-sampled approximations of the data unit segment.
 27. The system ofclaim 20, wherein the image is displayed by a set top box.
 28. Thesystem of claim 20, wherein the image is shared over a wireless channel.29. The system of claim 20, wherein the image is shared over a wirelesslocal network.